import request from '@/utils/request'
import { parseStrEmpty } from "@/utils/ruoyi";

export function getDdevModelList(data) {
    return request({
        url: '/alm/dev/getDevModelList',
        method: 'get',
        params: data
    })
}
export function editDevModelInfo(data) {
    return request({
        url: '/alm/dev/editDevModelInfo',
        method: 'put',
        data: data
    })
}

export function delDevModelInfo(modelId) {
    return request({
        url: '/alm/dev/delDevModelInfo/' + modelId,
        method: 'delete'
    })
}

export function addDevModel(data) {
    return request({
        url: '/alm/dev/addDevModel',
        method: 'put',
        data: data
    })
}


export function getDevModelType(data) {
    return request({
        url: '/alm/dev/getDevModelType',
        method: 'get',
        params: data
    })
}